/*
 * Copyright (c) 2023, 2024,yzc.cn All rights reserved.
 *
 */
package cn.yzc.factory_pattern.simple;

/**
 * <p>Project: springbootDemo - Coffee</p>
 * <p>Powered by yzc On 2024-03-20 09:48:52</p>
 * <p>描述：<p>
 *
 * @author yzc [youzhicheng0415@163.com]
 * @version 1.0
 * @since 17
 */
//咖啡类
public abstract class Coffee {

    public abstract String getName();

    //加糖
    public void getSugar(){
        System.out.println("加糖");
    }

    //加奶
    public void getMilk(){
        System.out.println("加奶");
    }


}
